package cn.yunhe.pojo;

import java.io.Serializable;

public class Book implements Serializable {
    private int bid;
    private String bisbn;
    private String bname;
    private String bauthor;
    private String bpress;
    private double bprice;
    private int bcount;

    public Book() {
    }

    public Book(int bid, String bisbn, String bname, String bauthor, String bpress, double bprice, int bcount) {
        this.bid = bid;
        this.bisbn = bisbn;
        this.bname = bname;
        this.bauthor = bauthor;
        this.bpress = bpress;
        this.bprice = bprice;
        this.bcount = bcount;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getBisbn() {
        return bisbn;
    }

    public void setBisbn(String bisbn) {
        this.bisbn = bisbn;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public String getBauthor() {
        return bauthor;
    }

    public void setBauthor(String bauthor) {
        this.bauthor = bauthor;
    }

    public String getBpress() {
        return bpress;
    }

    public void setBpress(String bpress) {
        this.bpress = bpress;
    }

    public double getBprice() {
        return bprice;
    }

    public void setBprice(double bprice) {
        this.bprice = bprice;
    }

    public int getBcount() {
        return bcount;
    }

    public void setBcount(int bcount) {
        this.bcount = bcount;
    }
}
